package mypage;

import java.sql.*;
import java.io.*;
import java.util.*;

import common.db.*;
import common.main.*;

public class PwChangBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String id = (String)inputTable.get("id");
		String pw0 = (String)inputTable.get("pw0");
		String pw1 = (String)inputTable.get("pw1");
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("UPDATE MEMBER SET PASS='"+pw1+"' ");
		queryBuffer.append("WHERE ID = '"+id+"' AND PASS='"+pw0+"'");

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}
